package com.zhongxi.guoyuan.entity.rewardcoin;

import com.zhongxi.guoyuan.entity.BaseResult;
import com.zhongxi.guoyuan.entity.shopcart.Attr;

import java.util.List;

/**
 * Created by Administrator on 2017/1/16.
 */

public class ShopCartResult {

    private int code;
    private ShopCart shopCart;
    private BaseResult safeobj;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ShopCart getShopCart() {
        return shopCart;
    }

    public void setShopCart(ShopCart shopCart) {
        this.shopCart = shopCart;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public class ShopCart{
        private List<ToDoor> todoor;
        private List<ToDoor> post;

        public List<ToDoor> getPost() {
            return post;
        }

        public void setPost(List<ToDoor> post) {
            this.post = post;
        }

        public List<ToDoor> getTodoor() {
            return todoor;
        }

        public void setTodoor(List<ToDoor> todoor) {
            this.todoor = todoor;
        }
    }

    public class ToDoor{
        private String id;
        private String userid;
        private String goodsid;
        private String getermethod;
        private int goodsnum;
        private String gattr;
        private String gattrmd5;
        private List<Attr> attr;

        public boolean isChecked = false;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getGoodsid() {
            return goodsid;
        }

        public void setGoodsid(String goodsid) {
            this.goodsid = goodsid;
        }

        public String getGetermethod() {
            return getermethod;
        }

        public void setGetermethod(String getermethod) {
            this.getermethod = getermethod;
        }

        public int getGoodsnum() {
            return goodsnum;
        }

        public void setGoodsnum(int goodsnum) {
            this.goodsnum = goodsnum;
        }

        public String getGattr() {
            return gattr;
        }

        public void setGattr(String gattr) {
            this.gattr = gattr;
        }

        public String getGattrmd5() {
            return gattrmd5;
        }

        public void setGattrmd5(String gattrmd5) {
            this.gattrmd5 = gattrmd5;
        }

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }

        public List<Attr> getAttr() {
            return attr;
        }

        public void setAttr(List<Attr> attr) {
            this.attr = attr;
        }
    }

}
